﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PIMS
{
    /// <summary>
    /// 登陆用户信息
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName;
        /// <summary>
        /// 密码
        /// </summary>
        public string Password;
        /// <summary>
        /// 描述
        /// </summary>
        public string Description;
        /// <summary>
        /// 部门
        /// </summary>
        public string Department;
        /// <summary>
        /// 操作级别数越高权限越大
        /// </summary>
        public string Level;

        public UserInfo()
        {
            clear();
        }
        /// <summary>
        /// 清除所有信息
        /// </summary>
        public void clear()
        {
            UserName = string.Empty;
            Password = string.Empty;
            Description = string.Empty;
            Department = string.Empty;
            Level = string.Empty;
        }
    }
}
